import request from '@/utils/request'

// 查询对账文件导入列表
export function listReconciliation(query) {
    return request({
        url: '/fund/reconciliation/list',
        method: 'get',
        params: query
    })
}

// 查询对账文件导入详细
export function getReconciliation(id) {
    return request({
        url: '/fund/reconciliation/' + id,
        method: 'get'
    })
}

// 新增对账文件导入
export function addReconciliation(data) {
    return request({
        url: '/fund/reconciliation',
        method: 'post',
        data: data
    })
}

// 修改对账文件导入
export function updateReconciliation(data) {
    return request({
        url: '/fund/reconciliation',
        method: 'put',
        data: data
    })
}

// 删除对账文件导入
export function delReconciliation(id) {
    return request({
        url: '/fund/reconciliation/' + id,
        method: 'delete'
    })
}

// 导出对账文件导入
export function exportReconciliation(query) {
    return request({
        url: '/fund/reconciliation/export',
        method: 'get',
        params: query
    })
}
